package com.sls.web.manager.game.service;

import java.util.List;

import com.sls.web.manager.game.pojo.GameSupplyRule;
import com.sls.web.manager.game.pojo.GoodsManageInfo;
import com.sls.web.manager.game.querybean.GameSupplyRuleQuery;
import com.sls.web.manager.page.Pagination;
import com.sls.web.manager.pojo.UserInfoVO;

/**
 * 游戏供货规则Service接口层
 * 
 * @author gesx
 * 
 */
public interface GameSupplyRuleService {
	/**
	 * 游戏供货规则新增
	 * 
	 * @param gameSupplyRule
	 * @param userInfoVO
	 * @return
	 * @throws Exception
	 */
	public boolean save(GameSupplyRule gameSupplyRule, UserInfoVO userInfoVO)
			throws Exception;

	/**
	 * 游戏供货规则修改
	 * 
	 * @param gameSupplyRule
	 * @param userInfoVO
	 * @return
	 * @throws Exception
	 */
	public boolean update(GameSupplyRule gameSupplyRule, UserInfoVO userInfoVO)
			throws Exception;

	/**
	 * 根据Id 查询单条记录
	 * 
	 * @param Id
	 * @param userInfoVO
	 * @return
	 * @throws Exception
	 */
	public GameSupplyRule queryById(String Id, UserInfoVO userInfoVO)
			throws Exception;

	/**
	 * 供货规则列表显示
	 * 
	 * @param gameSupplyRuleQuery
	 * @param userInfoVO
	 * @return
	 * @throws Exception
	 */
	public Pagination<GameSupplyRule> queryList(
			GameSupplyRuleQuery gameSupplyRuleQuery, UserInfoVO userInfoVO)
			throws Exception;

	/**
	 * 查询所有没有供货规则的商品
	 * 
	 * @param userInfoVO
	 * @return
	 * @throws Exception
	 */
	public List<GoodsManageInfo> goodsNameList(UserInfoVO userInfoVO)
			throws Exception;
}
